@import "./var.css";
@import "./iconfont.css";

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  color: var(--xz-fontcolor);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  /* background-color: transparent !important; */
  background-color: var(--xz-background);
}

li {
  list-style: none;
}

a {
  color: var(--xz-fontcolor);
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  color: var(--xz-focus-color);
}

img {
  max-width: 100%;
  max-height: 100%;
}

.but {
  display: inline-block;
  border-radius: 4px;
  transition: 0.15s;
  border: 1px solid var(--this-border);
  vertical-align: middle;
  padding: 0.3em 0.6em;
  text-align: center;
  font-weight: 400;
  box-shadow: var(--this-shadow);
  background: var(--this-bg);
  color: var(--this-color);
  --main-color: var(--this-color);
  --this-bg: rgba(136, 136, 136, 0.1);
  --this-border: transparent;
  --this-shadow: none;
  --this-color: #888;
  text-shadow: 0 0 0;
  line-height: 1.44;
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jb-blue {
  --this-bg: linear-gradient(135deg, #59c3fb 10%, #268df7 100%);
  color: var(--this-color);
  background: var(--this-bg);
  --this-color: #fff;
}

.jb-pink {
  --this-bg: linear-gradient(135deg, #ff5e7f 30%, #ff967e 100%);
  color: var(--this-color);
  background: var(--this-bg);
  --this-color: #fff;
}

.layout {
  padding-top: 80px;
}

.is-center {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row;
  align-items: center;
}

.text-ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.clearfix {
  display: block;
  zoom: 1;
}

.clearfix::after,
.clearfix::before {
  content: " ";
  display: table;
}

.clearfix::after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.padding-20 {
  padding: 20px;
}

.padding-10 {
  padding: 10px;
}

.flex {
  display: flex;
}

.flex-ac {
  align-items: center;
}

.flex-jc {
  justify-content: center;
}

.flex.col {
  flex-direction: column;
}

.relative {
  position: relative;
}

.section {
  /* border-bottom: 1px solid #eee; */
  /* margin-bottom: 17px; */
  position: relative;
}

.fit-cover {
  width: 100%;
  height: 100%;
  transition: all 0.2s;
  overflow: hidden;
  object-fit: cover;
}

.splitters > li + li:before {
  content: "";
  width: 1px;
  height: 1.1em;
  position: absolute;
  display: inline-block;
  background: var(--xz-main);
  left: -1px;
  top: 50%;
  opacity: 0.2 !important;
  transform: translateY(-50%);
}

#sign-mask {
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -webkit-box;
  display: -ms-flexbox;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.clickable {
  color: #00a1d6;
  cursor: pointer;
}

.message {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10011;
}

.navbar-avatar {
  margin-top: 3px;
  display: block;
  width: 29px;
  height: 29px;
}

.avatar {
  width: 100%;
  height: 100%;
  transition: all 0.2s;
  overflow: hidden;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 100px;
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
}

.col-full {
  background: var(--xz-card-bg);
  /* box-shadow: 0 0 0 1px #eee; */
  border-radius: 4px;
  padding: 20px;
}

#page-follows .col-full {
  padding: 0;
}

#page-follows .follow-sidenav {
  position: relative;
  float: left;
  width: 180px;
  margin-right: -1px;
  font-size: 14px;
  border-right: var(--style-border);
  border-bottom: var(--style-border);
  box-sizing: border-box;
}

#page-follows .follow-sidenav .nav-container.follow-container {
  border-bottom: var(--style-border);
}

#page-follows .follow-sidenav .nav-container.follow-container {
  border-bottom: var(--style-border);
}

#page-follows .follow-sidenav .nav-title {
  position: relative;
  height: 24px;
  padding: 10px 0 5px 20px;
}

#page-follows .follow-sidenav .nav-title .text {
  display: block;
  line-height: 24px;
  color: #99a2aa;
}

#page-follows .follow-sidenav .follow-list-container {
  position: relative;
  max-height: 440px;
  margin: 10px 0 20px;
  overflow-y: hidden;
  overflow: hidden;
}

#page-follows .follow-sidenav .follow-list-container .follow-item.cur {
  background-color: var(--xz-theme);
  color: #fff;
}

#page-follows .follow-sidenav .follow-list-container .follow-item {
  position: relative;
  padding-left: 20px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  font-size: 0;
  overflow: hidden;
  user-select: none;
}

#page-follows
  .follow-sidenav
  .follow-list-container
  .follow-item:not(.cur):hover {
  background-color: var(--xz-theme);
  color: var(--xz-white);
}

#page-follows
  .follow-sidenav
  .follow-list-container
  .follow-item:hover
  .follow-item-text {
  color: var(--xz-white);
}

#page-follows .follow-sidenav .follow-list-container .follow-item i.xzfont {
  width: 20px;
  height: 18px;
  margin-right: 6px;
  vertical-align: center;
  display: inline-block;
  font-size: 18px;
}

#page-follows
  .follow-sidenav
  .follow-list-container
  .follow-item.cur
  .be-dropdown-trigger
  .icon-ic_more,
#page-follows .follow-sidenav .follow-list-container .follow-item.cur .num,
#page-follows .follow-sidenav .follow-list-container .follow-item.cur .text {
  color: #fff;
}

#page-follows .follow-sidenav .num {
  display: inline-block;
  width: 50px;
  font-size: 12px;
  color: #99a2aa;
  vertical-align: middle;
  text-align: center;
}

#page-follows .follow-sidenav .text {
  display: inline-block;
  line-height: 44px;
  width: 78px;
  margin-right: 5px;
  font-size: 14px;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

#page-follows .follow-main {
  position: relative;
  float: left;
  width: 100%;
  min-height: 600px;
  border-left: var(--style-border);
}

.center-main-content {
  width: calc(100% - 210px);
}

#page-follows .follow-main .follow-header.follow-header-info {
  padding-bottom: 20px;
  border-bottom: var(--style-border);
}

#page-follows .follow-main .follow-header {
  margin: 20px 20px 0;
}

#page-follows .follow-header {
  min-height: 30px;
}

#page-follows .follow-header .breadcrumb {
  line-height: 30px;
}

.breadcrumb {
  line-height: 24px;
  font-size: 0;
  vertical-align: middle;
  position: relative;
}

.flex-c-l,
.flex-c-s {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}

.flex-c-s {
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.breadcrumb .item {
  display: inline-block;
  font-size: 18px;
  color: #6d757a;
  vertical-align: middle;
}

.breadcrumb .item.cur {
  color: #222;
}

#page-follows .follow-main .relation-list {
  padding: 0 20px 20px;
}

#page-follows .follow-main .relation-list .list-item {
  border-bottom: var(--style-border);
  align-items: center;
  padding: 20px 0;
  position: relative;
  line-height: 1;
}

/* article */
.article-content h1 {
  line-height: 30px;
  font-weight: 600;
  font-size: 24px;
  color: var(--xz-fontcolor);
}

.article-content p {
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 400;
  margin: 1rem 0;
  text-align: left;
  letter-spacing: 0.6px;
}

.article-content img,
.article-content video {
  border-radius: 12px;
  object-fit: cover;
  display: block;
  margin: 0.8rem auto;
  max-width: 90%;
  max-height: 450px;
}

.nav-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  width: 90px;
  height: 34px;
  border-radius: 8px;
  background: #fb7299;
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.nav-upload svg {
  margin-right: 5px;
  color: #fff;
}

/* @media (min-width: 1420px) {
  #page-follows .follow-sidenav {
    width: 210px;
  }

  #page-follows .follow-main,
  #page-follows .follow-main .follow-header .follow-action-fixtop {
    width: 1070px;
  }
} */
